package com.example.design.shejimoshi.action.responsibility;

import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * 安全校验处理器
 */
@Component
@Order(2) //校验顺序排第2
public class CheckSecurityHandler extends AbstractHandler {
    @Override
    public void doFilter(UserDO userDO) {
        //invoke Security check
        System.out.println("安全调用校验");
    }
}